using UnityEngine;
using System.Collections;
using System.Collections.Generic;

//挂在相机上
public class ShaderCtrl :MonoBehaviour{


	public enum GraphicsLevel
    {
        High = 600,
        Medium = 400,
        Low = 200,
    }

    public GraphicsLevel graphicLevel = GraphicsLevel.High;
   
    void Update()
    {
        Shader.globalMaximumLOD = (int)graphicLevel;//转成整数
    }
}
